下载面单
下载面单
GET | /v1/open-api/label |
请求头部
标签 | 必填 | Description |
---|---|---|
Api-Key | ✓ | Api Key,请登录系统,在我的个人资料中找到 |
Api-Secret | ✓ | Api Secret,请登录系统,在我的个人资料中找到 |
Query参数
参数名 | 类型 | 必填 |
---|---|---|
custom_order_num | [string] | ✓ |
curl -X GET \
'https://api.sandbox.shipber.com/v1/open-api/label?custom_order_num=cimy-977885' \
-H 'Content-Type:application/json' \
-H 'Api-Key:2cn1wgmfidytin3jef3b' \
-H 'Api-Secret:qRBYybjRch7BdTxO5NTyGUd6mBvowNbsjahnAnpdI-BXc5sCrRt15XGr-hc9oY7C'
{
"data": {
"order_num": "ST1618444800208768",
"create_at": "2021-04-15T08:47:08.045Z",
"custom_order_num": "FBAguang-April12992",
"status": "Printed",
"shipment": {
"packages": [{
"identifier": {
"tracking_id_type": "FEDEX",
"identification_number": "",
"tracking_number": "786002536837",
"master_tracking_id_type": "FEDEX",
"master_tracking_number": "786002536837"
},
}],
"uuid": "be5ac2f5-10af-455a-beed-5e5ba77d9d65",
"charge": 10.81,
"create_at": "2021-04-15T08:47:08.045Z",
"label_download": {
"pdf": "https://shipber-label-stage.s3.us-west-2.amazonaws.com/Labels/fedex/fedex_ground/786002536837/786002536837.pdf?AWSAccessKeyId=AKIAVKD5XIH4LVPFTARC&Expires=1618477362&Signature=hvglmkBXlDMcBeidwBd%2FN4kgQbw%3D"
}
}
}
}